package Pokero;

public class Card {
	public String rank;

	public String suit;
	
	public static String[] suits = {"hearts", "diamonds", "clubs", "spades"};
	public static String[] ranks = {"Ace", "2", "3", "4", "5", "6", "7", "8", "9", "10", "Jack", "Queen", "King"};

	//konstruktor inicjalizujacy karte(kolor, wartosc)
	Card(String Suit, String Rank)
	{
		rank = Rank;
		suit = Suit;
	}
	
	//metoda zwracajaca wartosc karty
	/*public static String getRank()
	{
		return rank;
	}
	
	//metoda zwracajaca kolor karty
	public static String getSuit()
	{
		//return suit;
	}*/

//	public void setSuit(String suit) {
//		Card.suit = suit;
//	}
	
	/*//zwracanie np Ace of diamonds
	public String toString()
	{
		return ranks[rank] + "of" + suits[suit];
	}*/
}
